var express = require('express');
var router = express.Router();

var user = {
    isUser : require('./isUser'),
    getUser : require('./getUser'),
    reg    : require('./reg'),
    location : require('./location'),
    unsubscribe : require('./unsubscribe'),
    count : require('./count'),
    upUser : require('./upUser')
};

router.post('/isUser', user.isUser);
router.post('/getUser', user.getUser);
router.post('/reg', user.reg);
router.post('/location', user.location);
router.post('/unsubscribe', user.unsubscribe);
router.post('/count', user.count);
router.post('/upUser', user.upUser);

module.exports = router;
